
const state = {
  theme: 'default'
}
const getters = {
  colors (state) {
    switch (state.theme) {
      case 'default':
        return {
          primary: '#0e0e0e',
          secondary: '#1c2023',
          accent: '#fe4b12'
        }
    }
  }
}
const mutations = {
  THEME_CHANGE (state, payload) {
    state.theme = payload.theme
  }
}
const actions = {
  THEME_CHANGE ({ commit }, payload) {
    commit('THEME_CHANGE', payload)
  }
}

export default {
  namespaced: true,
  state,
  getters,
  mutations,
  actions
}
